package entity.domain.topic;

public class ContinuousTopic extends Topic<Range>{

    public ContinuousTopic(){}
    public ContinuousTopic(int num, String name){
        this.setType(Type.Continuous);
        this.setNum(num);
        this.setName(name);
    }

    public ContinuousTopic(int num, String name, String description){
        this.setType(Type.Continuous);
        this.setNum(num);
        this.setName(name);
    }

    public ContinuousTopic(int num, String name, Range range){
        this.setType(Type.Continuous);
        this.setNum(num);
        this.setName(name);
        this.setRange(range);
    }

    public ContinuousTopic(int num, String name, Range range, String description){
        this.setType(Type.Continuous);
        this.setNum(num);
        this.setName(name);
        this.setRange(range);
        this.setDescription(description);
    }

    public Range getRange(){
        return this.options;
    }

    public void setRange(Range range){
        this.options = range;
    }
}
